package com.tuanbiao.controllers;

import com.hzjq.data.entity.BlastEntity;
import com.hzjq.data.hzjq.entity.LogEntity;
import com.tuanbiao.base.mvp.IModel;
import com.tuanbiao.base.mvp.IPresenter;
import com.tuanbiao.base.mvp.IView;
import com.tuanbiao.models.action.BlastCopyAction;
import com.tuanbiao.models.action.LogAction;

import java.util.List;

/**
 * @author abiao
 * @since 2022/4/28 11:43
 */
public interface LogController {
    interface Model extends IModel, BlastCopyAction, LogAction {

    }

    interface View extends IView {

        void setItems(List<LogEntity> logs);
    }

    interface Presenter extends IPresenter {

    }

    interface BackupView extends IView {
        void setItems(List<BlastEntity> entities);

        void addItems(List<BlastEntity> blastEntities);
    }

    interface BackupPresenter extends IPresenter {

        void refresh();

        void loadMore();

        void restore(BlastEntity entity);
    }


}
